home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / onboard / scripts / switchButtons.pyc (.txt) < prev   
Encoding:
Python Compiled Bytecode  |  2009-04-20  |  491 b   |  12 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. import gconf
  5.  
  6. def run(sok):
  7.     gconfClient = gconf.client_get_default()
  8.     print 'switch'
  9.     b = gconfClient.get_bool('/desktop/gnome/peripherals/mouse/left_handed')
  10.     gconfClient.set_bool('/desktop/gnome/peripherals/mouse/left_handed', not b)
  11.  
  12.